from django.conf.urls.defaults import *

# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()

from blog.views import *
import the_crypt.views

urlpatterns = patterns('',
    # Example:
    # (r'^TestDee/', include('TestDee.foo.urls')),
    (r'^blog/json/$', json_blogposts),
    (r'^blog/json_lazy_tree/$', json_lazy_tree),
    (r'^blog/$', index),

    # The Crypt
    (r'^the_crypt/tree_open/$', the_crypt.views.tree_open),
    (r'^the_crypt/tree_menu/$', the_crypt.views.tree_menu),
    (r'^the_crypt/tree_action/$', the_crypt.views.tree_action),
    (r'^the_crypt/$', the_crypt.views.main),
    (r'^the_crypt/welcome$', the_crypt.views.welcome),
    
    # Uncomment the admin/doc line below to enable admin documentation:
    # (r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    (r'^admin/', include(admin.site.urls)),

)

